Ext.onReady(function(){
	Ext.Loader.setConfig({enabled:true});
	
	Ext.application({
		name:'AM',
		appFolder:'app',
		launch:function(){
			Ext.create('Ext.container.Viewport',{
				layout:'fit',
				items:{
					xtype:'mainlayout'
				}
			})
		},
		controllers:['deptController']
	});
});